import request from '@/utils/request'

// 首页表格数据
export function transactionList(query) {
    return request({
        url: '/vue-admin-template/transaction/list',
        method: 'get',
        params: query
    })
}

// 创建文章页面搜索数据接口
export function searchUser(name) {
    return request({
        url: '/vue-admin-template/search/user',
        method: 'get',
        params: { name }
    })
}